<!DOCTYPE html>
<html>
	<head>
		<title>CSS Regions: float and non-float content with forced region break fragmented across
				two regions</title>
		<link rel="author" title="Mihai Balan" href="mailto:mibalan@adobe.com">
		<link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property">
		<meta name="flags" content="ahem">
		<meta name="assert" content="Test checks that forcing a region break on the containing box
				of a float will fragment the float across the regions.">
		<link rel="match" href="reference/floats-in-named-flow-017-ref.html">
		<style>
		article {
			font-family: Ahem;
			font-size: 20px;
			line-height: 1em;
			color: green;
		}
		.flow {
			flow-into: f;
		}
		.float {
			float: left;
			color: blue;
		}
		.region {
			flow-from: f;
			margin: 20px;
		}

		.region > p {
			background: red;
		}
		#container {
			break-after: region;
		}
		#spacer {
			height: 10px;
		}
		</style>
	</head>
	<body>
		<!-- TODO: Must reconfirm this behavior based on the latest version of the fragmentation spec. -->
		<p>
			Test passes if you see two rows, each with two equally sized blue and green squares (blue
			on the left, green on the right); the squares should be flush to one another but there
			should be a small vertical space between the two rows.<br>
			You should see no red.
		</p>

		<div class="region">
			<p>&nbsp;</p>
		</div>
		<div class="region">
			<p>&nbsp;</p>
		</div>

		<article class="flow">
			<div id="container">
				<div class="float">
					<span>xxxx<br></span>
					<span>xxxx<br></span>
					<span>xxxx<br></span>
					<span>xxxx<br></span>
					<span>xxxx<br></span>
					<span>xxxx<br></span>
					<span>xxxx<br></span>
					<span>xxxx</span>
				</div>
				xxxx<br>
				xxxx<br>
				xxxx<br>
				xxxx
				<div id="spacer">&nbsp;</div>
			</div>
				xxxx<br>
				xxxx<br>
				xxxx<br>
				xxxx
		</article>
	</body>
</html>